package ren.yugong.fileutil;

import java.util.List;

public class TxtTemplateModel<T> {

    private Class<T> txtTemplateCls;

    private String title;

    private String columnSplit;

    private TxtTemplateColumnType columnSplitType;

    private String lineSeparator;

    private String charset;

    private FileType fileType;

    private List<MethodInfo> writeMethodInfos;

    private List<MethodInfo> readMethodInfos;

    private LengthType lengthType;

    public Class<T> getTxtTemplateCls() {
        return txtTemplateCls;
    }

    public void setTxtTemplateCls(Class<T> txtTemplateCls) {
        this.txtTemplateCls = txtTemplateCls;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getColumnSplit() {
        return columnSplit;
    }

    public void setColumnSplit(String columnSplit) {
        this.columnSplit = columnSplit;
    }

    public String getLineSeparator() {
        return lineSeparator;
    }

    public void setLineSeparator(String lineSeparator) {
        this.lineSeparator = lineSeparator;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public FileType getFileType() {
        return fileType;
    }

    public void setFileType(FileType fileType) {
        this.fileType = fileType;
    }

    public void setWriteMethodInfos(List<MethodInfo> writeMethodInfos) {
        this.writeMethodInfos = writeMethodInfos;
    }

    public List<MethodInfo> getWriteMethodInfos() {
        return writeMethodInfos;
    }

    public void setReadMethodInfos(List<MethodInfo> readMethodInfos) {
        this.readMethodInfos = readMethodInfos;
    }

    public List<MethodInfo> getReadMethodInfos() {
        return readMethodInfos;
    }

    public void setColumnSplitType(TxtTemplateColumnType columnSplitType) {
        this.columnSplitType = columnSplitType;
    }

    public TxtTemplateColumnType getColumnSplitType() {
        return columnSplitType;
    }

    public void setLengthType(LengthType lengthType) {
        this.lengthType = lengthType;
    }

    public LengthType getLengthType() {
        return lengthType;
    }
}
